package Thread.Thread_Pool;

import java.util.concurrent.*;

public class Test1 {
    public static void main(String[] args) throws Exception{
            ThreadPoolExecutor pool;
        pool = new ThreadPoolExecutor(
                5,
                 10,
                3,
                TimeUnit.SECONDS,
                new LinkedBlockingQueue<>(100),
                new ThreadPoolExecutor.DiscardPolicy()
        );
    }
}
